const GEEK_TOKEN_KEY = 'geek-token' 

export const getToken = () => localStorage.getItem(GEEK_TOKEN_KEY)

export const setToken = (token) => localStorage.setItem(GEEK_TOKEN_KEY, token)

export const clearToken = () => localStorage.removeItem(GEEK_TOKEN_KEY)

export const isAuth = () => !!getToken()